package com.ms.mapper;

import com.ms.pojo.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AdminMapper {

    @Select("SELECT * FROM admin WHERE admin_username = #{adminUsername} AND admin_password = #{adminPassword}")
    Admin selectByAdminnameAndPassword(String adminUsername, String adminPassword);



}
